home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 4
/
CDPD_IV.bin
/
e
/
mailinglists
/
amigae.0294feb.archive
/
000109_donews!crash!delphi.com!NES_Mon, 28 Feb 94 01:33:01 PST.msg
< prev
next >
Wrap
Internet Message Format
|
1994-05-26
|
13KB
Received: by bkhouse.cts.com (V1.17-beta/Amiga)
id <1xj7@bkhouse.cts.com>; Mon, 28 Feb 94 01:33:01 PST
Received: from crash by donews.cts.com with uucp
(Smail3.1.28.1 #18) id m0palbP-0001PdC; Sun, 27 Feb 94 05:32 PST
Received: from bos1a.delphi.com by crash.cts.com with smtp
(Smail3.1.28.1 #18) id m0palFI-0000nwC; Sun, 27 Feb 94 05:09 PST
Received: from delphi.com by delphi.com (PMDF V4.2-11 #6311) id
<01H9DG1XGK6Y8X1SQ5@delphi.com>; Sun, 27 Feb 1994 08:09:14 EST
Date: Sun, 27 Feb 1994 08:09:14 -0500 (EST)
Message-id: <01H9DG1XGK708X1SQ5@delphi.com>
X-VMS-To: IN%"AmigaE@bkhouse.cts.com"
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
From: NES@delphi.com
To: AmigaE@bkhouse.cts.com
Subject: Re: Sound in e.
Robert, why don't you share your code on using the MED library with
us? I think that would help alot of us out....
Eric <nes@delphi.com>
From donews!crash!delphi.com!NES Mon, 28 Feb 94 01:33:14 PST
Received: by bkhouse.cts.com (V1.17-beta/Amiga)
id <1xjf@bkhouse.cts.com>; Mon, 28 Feb 94 01:33:14 PST
Received: from crash by donews.cts.com with uucp
(Smail3.1.28.1 #18) id m0palbR-0001wbC; Sun, 27 Feb 94 05:32 PST
Received: from bos2a.delphi.com by crash.cts.com with smtp
(Smail3.1.28.1 #18) id m0palKi-0000VLC; Sun, 27 Feb 94 05:14 PST
Received: from delphi.com by delphi.com (PMDF V4.2-11 #6311) id
<01H9DG6G570G8X1SQ5@delphi.com>; Sun, 27 Feb 1994 08:14:46 EST
Date: Sun, 27 Feb 1994 08:14:46 -0500 (EST)
Message-id: <01H9DG6G570I8X1SQ5@delphi.com>
X-VMS-To: IN%"AmigaE@bkhouse.cts.com"
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
From: NES@delphi.com
To: AmigaE@bkhouse.cts.com
Subject: Re: More questons about Gadtools.
Gee, I did not think my queston would start a war....
You know all I ask was a simple queston. And what I got was a runaround on it...
We should be sharing code here not flaming each other....
BTW I was gone a week and had over a 100 messages in the old mail box...
Eric (NES@DELPHI.COM)
Chow...
From donews!crash!delphi.com!NES Mon, 28 Feb 94 01:33:22 PST
Received: by bkhouse.cts.com (V1.17-beta/Amiga)
id <1xjk@bkhouse.cts.com>; Mon, 28 Feb 94 01:33:22 PST
Received: from crash by donews.cts.com with uucp
(Smail3.1.28.1 #18) id m0palbS-0001mmC; Sun, 27 Feb 94 05:32 PST
Received: from bos1a.delphi.com by crash.cts.com with smtp
(Smail3.1.28.1 #18) id m0palO4-0000EoC; Sun, 27 Feb 94 05:18 PST
Received: from delphi.com by delphi.com (PMDF V4.2-11 #6311) id
<01H9DGCBHGJA8X1SQ5@delphi.com>; Sun, 27 Feb 1994 08:18:13 EST
Date: Sun, 27 Feb 1994 08:18:13 -0500 (EST)
Message-id: <01H9DGCBHGJC8X1SQ5@delphi.com>
X-VMS-To: IN%"AmigaE@bkhouse.cts.com"
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
From: NES@delphi.com
To: AmigaE@bkhouse.cts.com
Subject: Re: Vector.Library
Donald,
I have been working off and on with the vector.library.
But have not got it working. I have the vector lib modules in E.
But not a working program. I will post it as soon as I get it working
Eric
From donews!crash!freenet.uwm.edu!gmandic Mon, 28 Feb 94 01:35:12 PST
Received: by bkhouse.cts.com (V1.17-beta/Amiga)
id <1xls@bkhouse.cts.com>; Mon, 28 Feb 94 01:35:12 PST
Received: from crash by donews.cts.com with uucp
(Smail3.1.28.1 #18) id m0paqmf-0001vvC; Sun, 27 Feb 94 11:04 PST
Received: from freenet.uwm.edu by crash.cts.com with smtp
(Smail3.1.28.1 #18) id m0paqb8-0000MkC; Sun, 27 Feb 94 10:52 PST
Received: by freenet.uwm.edu (5.65/DEC-Ultrix/4.3)
id AA03766; Sun, 27 Feb 1994 12:52:11 -0600
Date: Sun, 27 Feb 1994 12:52:11 -0600
Message-Id: <9402271852.AA03766@freenet.uwm.edu>
From: gmandic@freenet.uwm.edu (Gojko Mandic)
To: amigae@bkhouse.cts.com
Subject: E Mailing List Request
SUBSCRIBE AmigaE
FAQ AmigaE
INDEX
From donews!crash!nkraft Mon, 28 Feb 94 01:35:37 PST
Received: by bkhouse.cts.com (V1.17-beta/Amiga)
id <1xmb@bkhouse.cts.com>; Mon, 28 Feb 94 01:35:37 PST
Received: from crash by donews.cts.com with uucp
(Smail3.1.28.1 #18) id m0pata2-0002TrC; Sun, 27 Feb 94 14:03 PST
Received: by crash.cts.com (Smail3.1.28.1 #18)
id m0patVQ-0000FiC; Sun, 27 Feb 94 13:58 PST
Message-Id: <m0patVQ-0000FiC@crash.cts.com>
Date: Sun, 27 Feb 1994 13:58:32 -0800 (PST)
In-Reply-To: <Pine.3.89.9402261241.A2221-0100000@blue.csi.cam.ac.uk> from "Dave Higginson" at Feb 26, 94 12:18:18 pm
X-Mailer: ELM [version 2.4 PL23]
Content-Type: text
Content-Length: 1025
From: "Norman Kraft" <nkraft@crash.cts.com>
To: AmigaE@bkhouse.cts.com
Subject: Re: Setting up a usenet E group
> I think the ability to read this list from a newsreader would be good,
> because I hate having to separate my personal mail from list mail - my
> mail program should do it for me, but I don't know how to get it to.
One answer to this, for those that can do it, is to set up another
email address for AmigaE and hvae the mail sent to that address. A lot
of users here are doing this I've noticed, with all the AmigaE-List@...
addresses I have in the subscriber list.
This may not solve your problem, Dave, but I thought I'd suggest it.
Norm.
--
----------------------------------------------------------------------------
Norman Kraft INET : nkraft@ucsd.edu (work)
Peptide-T Clinical Trial or try: nkraft@bkhouse.cts.com (home)
HIV Neurobehavioral Research Center UUCP : ucsd!nkraft
Dept of Psychiatry, School of Medicine
University of California, San Diego Usual disclaimers...
----------------------------------------------------------------------------
From donews!crash!hull.ac.uk!electronic-engineering.hull.ac.uk!M.C.Askin Mon, 28 Feb 94 01:36:11 PST
Received: by bkhouse.cts.com (V1.17-beta/Amiga)
id <1xn1@bkhouse.cts.com>; Mon, 28 Feb 94 01:36:11 PST
Received: from crash by donews.cts.com with uucp
(Smail3.1.28.1 #18) id m0pav1k-0002TKC; Sun, 27 Feb 94 15:36 PST
Received: from sun2.nsfnet-relay.ac.uk by crash.cts.com with smtp
(Smail3.1.28.1 #18) id m0pauxx-0000y8C; Sun, 27 Feb 94 15:32 PST
Received: from adelphi-bf0.ucc.hull.ac.uk by gilbert.ucc.hull.ac.uk
with SMTP (PP) id <09933-0@gilbert.ucc.hull.ac.uk>;
Sun, 27 Feb 1994 23:13:05 +0000
Received: from humus.computer-centre.hull.ac.uk
by humus.computer-centre.hull.ac.uk with SMTP (PP)
id <12955-0@humus.computer-centre.hull.ac.uk>;
Sun, 27 Feb 1994 23:32:58 +0000
Via: uk.ac.hull; Sun, 27 Feb 1994 23:31:42 +0000
Message-Id: <8665.9402272331@humus.hull.ac.uk>
Date: Sun, 27 Feb 1994 23:31:51 +0000 (GMT)
X-Mailer: ELM [version 2.4 PL21]
Content-Type: text
Content-Length: 5868
From: "M.C.Askin" <M.C.Askin@electronic-engineering.hull.ac.uk>
To: amigae@bkhouse.cts.com
Subject: 1 or 2 beginner questions
Hello everybody, I'm new to E, and this list. I've been reading the E
list archives on Aminet which have been very helpful, but I hope you can
help me with some questions (problems) I've got. I only came by AmigaE
26 days ago, and already programming half decent programs. I'm taking
electronic engineering, and one of the leture courses was programming in
C. Since this was on PC's I have little idea of how to use the Amiga
libraries apart from what I've picked up along the way. I've looked at
the examples, and with the help of the GFA Basic book (it has 1.3
library names, and a short blurb about each function), and the AmigaE
list I've managed to write several simple DOS utils and a simple
intuition thing based on SpriteExample.e, but I don't use sprites, and
it's not an example! :-)
Heres the questions..(I've been saving them up)
1. What is the best way to clear a window. I've used ClearScreen, but it
crashes the machine a treat once you start moving screens about. In GFA
Basic I used:
CLEARW #1
2. I've tried to make EModules from the Medplayer progmas, and include,
but I got an error from Pragma2Module, and OctaMed does not come with a
.i file, but a .h file (C definitions). Pragma2Module the output:
Amiga E Pragma2Module by $#%! in 1992
converting: "libproto.h"
Base will be: medplayerbase
Correct name of this library (with the ".library" or ".device"):
>medplayer.library
found 1 empty or private functions before -66.
Pragma file format error!
but does seem to make an EModule which looks similar to the others with
the correct names. The .h is needed in the examples, but do *I* need it?
How can I convert it to a .i?
3. I'd like to get the full path of the current directory (from the root
directory), Newlist (a dir util program) does this (even CD does!), but
D (Wouter's directory program) doesn't. Also is there a better way of
getting the disk name of a specified directory/device than :
/* getdevname : Gets the root directory name, i.e. the volume name */
/* specified in the string 'devname', and places the actual volume */
/* name back in 'devname' with the approiate ':' on the end of it */
-----------8<----------------8<-----------------------------
PROC getdevname(devname)
DEF lock,fib:fileinfoblock
IF lock:=Lock(devname,SHARED_LOCK) /* Get a lock on the root dir of
the disk */
IF Examine(lock,fib) /* Get the information */
StrCopy(devname,fib.filename,ALL) /* Copy filename to the string
*/
StrAdd(devname,':',ALL) /* and add a ':' on the end */
ELSE
WriteF('Could not get lock on root directory\n')
ENDIF
UnLock(lock)
ENDIF
ENDPOC
-----------8<----------------8<-----------------------------
and if the user asks for bla: and it's not mounted the standard req
comes up, anyway of cancelling this? Sometimes something happens to the
system and it stops the requesters as if the user clicked on cancel
could I make it do this?, or better still... How do I get a list of
mounted devices?
4. I've written a very simple direct to disk sampler (goes into a
buffer, and when it's full is then saved to disk), however I want to
view the samples graphically (I don't know enough to be able to hear
them yet). The main problem is that once I subtract 129 from the
incoming numbers (at addr $bfe105 - bad programming I know - I don't even
setup the port to receive mode) to get the needed positive/negative numbers
for IFF samples and save them to disk, I can't do the opposite (i.e. Add
129) to get the 0-255 (or -128 to 129) range of numbers that I can
easily plot as they are now positive numbers from 0 to 255 in an odd
order, i.e. Upside down for half of the numbers. Someone out there must
know what I mean..could they help? I didn't even realise until recently
how the samples where held. I wrote elabrate procedures to convert the
0-256 number from my sampler to the values needed for IFF using IF
statements!!!
5. Why does this code produce a 'recoverable error' when run with the
following line:
1.> ReadArgsTest dest
I know that it isn't the corrct usage of args but it shouldn't mess up.
---------8<-------------8<-----------
DEF args:PTR TO LONG
PROC main() HANDLE
DEF rdargs
args:=[0]
IF rdargs:=ReadArgs('DEST=DESTINATION/K',args,NIL)=0
ENDIF
Raise(0)
EXCEPT
IF rdargs THEN FreeArgs(rdargs) /* Clean up args if used */
ENDPROC
---------8<-------------8<-----------
6. Last question (told you I've been saving them up), how do I draw a
filled boxed, in GFA Basic I would do:
COLOR col ! Set the colour
PBOX x,y,dx,dy ! Draw a filled box with current patten set
I would be eternally grateful if some one could answer these (relativily
simple, compared to what you normally talk about) questions. Thanks in
advance,
Myk. (I pronouce it Mike, but stricly speaking it should be pronounced
Mick)
ps. My computer setup : I have a standard A1200 (OS3) with 170Meg HD,
and Trilogic stereo sampler, and a 2400 baud modem. I don't mind using
OS2 specific library calls (sorry 1.3 users), so don't go out of your
way to make the answers work on any machine if you can't be bothered to.
Keep a watch on Aminet (dev/e) for some of my programs (once I've worked
out how to upload).
------------------------------------------------------------------------
Michael Askin : E Mail address - Look at the Mail Header - Its something
like: m.c.askin@electronic-engineering.hull.ac.uk
------------------------------------------------------------------------
My favorite movie/television quotes:
'Exterminate! Exterminate! Exterminate!'
- A Dalek from Dr Who
Homemade tag lines inc. 5 1994 Michael Askin :-)
========================================================================